package io.renren.modules.live.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.live.entity.FanweVideoEntity;
import io.renren.modules.live.vo.AnchorUpdateVideoVo;
import io.renren.modules.live.vo.FindByVoideListVideoNameAndAnchorNameVo;

import java.util.List;
import java.util.Map;

/**
 * 直播表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-11-17 09:18:22
 */
public interface FanweVideoService extends IService<FanweVideoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<FanweVideoEntity> getVoideList();

    void anchorUpdateVideo(AnchorUpdateVideoVo updateVideoVo);

    List<FanweVideoEntity> getBysortedFansAnchorIdListId(Long page,Long size);

    List<FanweVideoEntity> getChargesVoideList();

    List<FanweVideoEntity> findByVoideListVideoNameAndAnchorName(String content);

    List<FanweVideoEntity> findByAnchorIdList(List<Long> anchorIdList);

    List<FanweVideoEntity> getVoideRecommendList();

    List<FanweVideoEntity> getUserAttentionAnchor(Long anchorId);

    void addAnchorVideoFile(Long anchorId, String fileUrl);

    FanweVideoEntity getByAnchorId(Long anchorId);
}

